html{
  font-size: 13.333vw;
}
body{
  margin: 0;
}
.swiper-container{
  width: 100vw;
  height: 100vh;
}
.swiper-wrapper{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transition-property: transform;
  box-sizing: content-box;
}
.swiper-slide{
  width: 100vw;
  height: 100vh;
  position: relative;

  &.nth1{
    background: url("../img/bg_01.png") no-repeat center/100%;
  }
  &.nth2{
    background: url("../img/bg_02.png") no-repeat center/100%;
  }
  &.nth3{
    background: url("../img/bg_03.png") no-repeat center/100%;
  }
  &.nth4{
    background: url("../img/bg_04.png") no-repeat center/100%;
  }
  &.nth5{
    background: url("../img/bg_05.png") no-repeat center/100%;
  }



  .gohome{
    width: 3.61rem;
    position: absolute;
    top: 50vh;
    margin-top: -2.68rem;
    left: 2.12rem;
    text-align: center;
    color: #fff;
    line-height: 0;
    transition: 0.5s;

    img{
      opacity: 0;
    }

    .text_01{
      padding-top: 0.48rem;
      line-height: 0.44rem;
      font-weight: 100;
      font-size: 0.16rem;
      display: inline-block;
      transform: translateX(-1rem);
      opacity: 0;
      transition: 0.8s;
    }

    .text_02{
      line-height: 0.54rem;
      font-size: 0.18rem;
      display: inline-block;
      width: 100%;
      vertical-align: top;
      transform: translateX(-1.2rem);
      opacity: 0;
      transition: 1s;
    }

    .text_03{
      line-height: 0.58rem;
      font-size: 0.3rem;
      display: inline-block;
      width: 100%;
      transform: translateX(-1.4rem);
      opacity: 0;
      transition: 1.2s;
    }

    .text_04{
      line-height: 0.58rem;
      font-size: 0.16rem;
      transform: translateX(-1.6rem);
      opacity: 0;
      transition: 1.4s;
    }
  }

  &.nth1.active{
    .gohome{
      transform: translateY(1rem);
    }
    img{
      opacity: 1;
    }
    .text_01,
    .text_02,
    .text_03,
    .text_04{
      opacity: 1;
      transform: translateX(0rem);
    }
  }

  .spring{
    color: #fff;

    img{
      width: 4.19rem;
      height: 6.73rem;
      position: absolute;
      bottom: 1.13rem;
      right: 0.75rem;
      transform: translateY(1rem);
      opacity: 0;
      transition: 1s;
    }

    .text_01{
      writing-mode:tb-rl;
      position: absolute;
      top: 0.9rem;
      right: 0.75rem;
      font-size: 0.1rem;
      transform: translateY(-1rem);
      opacity: 0;
      transition: 0.5s;
    }
  }

  &.nth2.active {
    .spring img,
    .spring .text_01{
      transform: translateY(0rem);
      opacity: 1;
    }
  }

  .athome{
    width: 3.8rem;
    position: absolute;
    top: 50vh;
    left: 50vw;
    margin-top: -4.9rem;
    margin-left: -1.9rem;
    text-align: center;

    img{
      width: 3.31rem;
      height: 2.9rem;
      opacity: 0;
      transition: 0.5s;
    }

    .dateBox{
      width: 100%;
      height: 305px;
      display: flex;
      justify-content: space-between;

      .item{
        width: 0.46rem;
        height: 3.04rem;
        writing-mode:tb-rl;
        background: url('../img/athome_bg.png') no-repeat center/100%;
        font-size: 0.16rem;
        line-height: 0.44rem;
        transform: translateY(1rem);
        opacity: 0;

        &:nth-child(1){
          transition: 0.5s 0s;
        }
        &:nth-child(2){
          transition: 0.5s 0.2s;
        }
        &:nth-child(3){
          transition: 0.5s 0.4s;
        }
        &:nth-child(4){
          transition: 0.5s 0.8s;
        }
        &:nth-child(5){
          transition: 0.5s 1s;
        }
      }
    }
  }

  &.nth3.active {
    .athome img{
      opacity: 1;
    }
    .dateBox .item{
      transform: translateY(0rem);
      opacity: 1;
    }
  }

  img{
    width: 100%;
    vertical-align: top;
  }
}